package com.lanyun.serviceimpl;

import com.lanyun.dao.StockinfoDao;
import com.lanyun.service.StockInfoService;
import com.lanyun.service.StockService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Date;

@Service
public class StockInfoServiceImpl implements StockInfoService {

    @Autowired
    private StockinfoDao stockinfoDao;

    // 入库成功时插入该数据
    @Override
    public Integer infoEnd(String sid, Date date, String wid, String pid, String amount, String type) {
        return stockinfoDao.infoEnd(sid,date,wid,pid,amount,type);
    }
}
